﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

namespace housingsafety.server.Entities.DataModels
{
    [Table("zm_pc_gjzz_cj")]
    public partial class ZmPcGjzzCj : Repository.IEntityInt
    {
        [Key]
        [Column("id")]
        public int Id { get; set; }

        [Column("xzqdm")]
        [StringLength(255)]
        public string Xzqdm { get; set; }

        [Column("towndm")]
        [StringLength(255)]
        public string Towndm { get; set; }

        [Column("villagedm")]
        [StringLength(255)]
        public string Villagedm { get; set; }


        [Column("xzq")]
        [StringLength(255)]
        public string Xzq { get; set; }

        [Column("town")]
        [StringLength(255)]
        public string Town { get; set; }

        [Column("village")]
        [StringLength(255)]
        public string Village { get; set; }


        [Column("wszbzchbzcs")]
        public string Wszbzchbzcs { get; set; }

        [Column("fj")]
        public string Fj { get; set; }

        [Column("pcsj")]
        [StringLength(255)]
        public string Pcsj { get; set; }

        [Column("mzltlj")]
        public int Mzltlj { get; set; }

        [Column("zzfasl")]
        public int Zzfasl { get; set; }

        [Column("zzsgsl")]
        public int Zzsgsl { get; set; }

        [Column("qlddzxcsl")]
        public int Qlddzxcsl { get; set; }

        [Column("qcxycdjk")]
        public int Qcxycdjk { get; set; }

        [Column("qcddzxcsl")]
        public int Qcddzxcsl { get; set; }

        [Column("cddf")]
        public int Cddf { get; set; }

        [Column("sfsqfwftcf")]
        public int Sfsqfwftcf { get; set; }

        [Column("qlyhsyqpsl")]
        public int Qlyhsyqpsl { get; set; }

        [Column("xfctdsl")]
        public int Xfctdsl { get; set; }

        [Column("sfszszxhs")]
        public int Sfszszxhs { get; set; }

        [Column("abzjsxfscsl")]
        public int Abzjsxfscsl { get; set; }

        [Column("pzxfsb")]
        public int Pzxfsb { get; set; }

        [Column("jsswxhs")]
        public int Jsswxhs { get; set; }

        [Column("ccfhwggptzlsl")]
        public int Ccfhwggptzlsl { get; set; }

        [Column("sjjzrksl")]
        public int Sjjzrksl { get; set; }

        [Column("sfjszzxfdhxxxfz")]
        public int Sfjszzxfdhxxxfz { get; set; }

        [Column("sfjswxxfz")]
        public int Sfjswxxfz { get; set; }

        [Column("azgdjsbpsl")]
        public int Azgdjsbpsl { get; set; }

        [Column("fftstysl")]
        public int Fftstysl { get; set; }
        [Column("xfctdslxz")]
        public int Xfctdslxz { get; set; }
        [Column("create_by")]
        [StringLength(50)]
        public string? CreateBy { get; set; }

        [Column("create_name")]
        public string? CreateName { get; set; }


        [Column("create_on")]
        public DateTime CreateOn { get; set; }
        [NotMapped]
        public DateTime? ModifiedOn { get; set; }
        [NotMapped]
        public DateTime? DeleteOn { get; set; }
        [NotMapped]
        public short? IsDelete { get; set; }
  
        [Column("twotoone")]
        public int? Twotoone { get; set; }

        [Column("onetoone")]
        public int? Onetoone { get; set; }

        [Column("bjcdfs")]
        public string Bjcdfs { get; set; }

        [Column("bjcdfsqt")]
        public string Bjcdfsqt { get; set; }

        [Column("tzzfybjcdssjk")]
        public int Tzzfybjcdssjk { get; set; }

        [Column("wwcbjssyjbjwcsj")]
        public string Wwcbjssyjbjwcsj { get; set; }

        [Column("bjcdssdfqk")]
        public int Bjcdssdfqk { get; set; }

        [Column("sqfydcdzt")]
        public string Sqfydcdzt { get; set; }

        [Column("istwotoone")]
        public int? Istwotoone { get; set; }

        [Column("isonetoone")]
        public int? Isonetoone { get; set; }

    }
}
